Loops

A loop is used for executing a block of statements repeatedly until a particular condition is satisfied.
For example, when you are displaying number from 1 to 100 you may want to
set the value of a variable to 1 and display it 100 times, increasing its value by 1 on each loop iteration.



Here a=1 is the starting value, a<5 is the condition and a++ is increment